SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b40d01782afe01bd067e9489dc6af385995055e044c49c218b006a6ff8b7ca31' 
  AND token = 'Pk5H0+kNn6xJVWBfisdBD7Noe5slt+sOrpMaD7oIkwA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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