SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '970d9e74ad002b14ac3ef6abcd6afd155ea00422ed2787eea34ac406f344a140' 
  AND token = 'ABjhksJgPqxGr0EmT+6FN5sD+tKN/F7W/Vw2nWSgkLQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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