SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7792fbb265a822317950b46f965934be1f85a38beb4e7ec5f4017d07643aedf8' 
  AND token = 'tFq5RqzPTOfAiltjEHUoW/pqTlX3z5NW7QWO1N6grBI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}