SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f3bb1bd44db4327cace07d2f1e474e5f763234fb1411334672ce6fae8db8efe7' 
  AND token = 'ySLkP8K0lOCcMDa+zCNfnIx5rVhubDzsqNm8Nay0Tyk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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