SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38cd1bdda6345372ef1d85fdf521927bb5633d589e4530162788130203c14935' 
  AND token = 'F5C14UpHDeuvSnOLYGVt3sBkuaynyYWS0YcBw8aK1gQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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