SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c3ff5471e838541c653376e7ce5ba8639646818f8b3a03f740bf962536a190c' 
  AND token = 'wMERbUW/joKJxLhkfhadMF8SwF4Beya14B2TVsEA+FA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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