SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf1861702fffe5a6b0dfdc223e4401732a9de320fe9ec6cf4c5811f61954b0e7' 
  AND token = 'ACedW8FPgkhdkxOWkL0yaSHYdWFkRxp0CQLsTto4DqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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