SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4df8be6b4991e5d8eaa68c7fd01787a4cee11812b5477e08572d61711ee0cdb' 
  AND token = 'ri7VsJQxF8Ih78bsKqAgAMCDnr+aRHz+5+BnqFCd3Ow=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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