SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2d00c0598ac801c4bd8de4f9fd009ce12168faf27290c4c48a11a2d62a2afcc' 
  AND token = '8330/vYiIrtmf2Mr7B5udDEn7dwmFwn8ANT/a9vjgJE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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