SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '642b0fa22c102bdc0a12a5aeb42790e320bbb296ce10003d9ad7f7bf12045157' 
  AND token = 'fTR953igHvL1VCNsqKUHrgQlAMNpiP8QRRcoAuFul8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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