SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f39f1a8b88f484f3a62a9e038492f4d3e0e200786443b279eccf49cfd82a55f' 
  AND token = 'ygBUYblOMK369fmVkp/7V4BNvzFsdn7/FIGlVvEC96A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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