SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e365c786a0f5b46b40608f310be34887bf69e9b017f3322eaee3c733061c9fea' 
  AND token = '3mwKt+KNlMJBrV8ifEc/2cFymv7vdMkDEhYeuS/BMrA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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