SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd21cdde3eb3a428ab547e79903fbe8f746d344d35c851cc4f517a36c12cc7260' 
  AND token = 'mc7w+Yy40DtoNfrsWr7sd+sBrGrDHC6IG7bbXpPdTsY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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