SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ef84482e678fed155a61dac474b33b35af6ddf984fc4f60ed200d7f6142e33b' 
  AND token = 'RXIzTOmGfiG4ILCPjOC/7fz7Gd5Oqhaqc5jot4v3mcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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