SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c9d7660889a13b65c7e5661294b9ff892dfa0ad16341b9e5709b806bd09aa01' 
  AND token = 'Opa9T8jOFqVNSPcANHU7OfaxEE/rREarafBnJxWSNyY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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