SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5521c60aa828ab027191bff131ef27c775a195835496cc02be25c986725b381' 
  AND token = '7OxJp4EGH1hHi743XCmkjgRrZ6OTglWMvTyM9yg2MaA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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