SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4881193923002cffa5599e5d91157f59915a34ec80e285fd8b5379ff2bd732d' 
  AND token = 'duHnusc2dD/V7/xlKNU7iRRClc6FYrL659zYb64sJDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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