SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0097158d7d9fb3f274f4af43d07966bddb7a628f65da197f62b19eccf9a8099d' 
  AND token = 'nL3Eg+rP5f4JOvwQw6Ep0FEpkG9OdPp1M7uLiK8XR8Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}