SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e165141e3f0724a9360b7cddc3730e8294e80e4bf3c354e34b5af1419afcab3' 
  AND token = 'LgecqoYEJH7PDTAdTRyoPSHW2bzfzdhPaAahQQpapbw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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