SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12bbb1c760ba90766129fa6ffda9c2de81a980f95ab67fec1466e016aeffb583' 
  AND token = 'Rz9ml+NSC1/AhFQtpx+Yqf4FsRMNmrojjzWoH/laUHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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