SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '832891e3d258bfeada2331d045588a1b5fd11afc1fb8e8f66dc2e8cdfe8b413f' 
  AND token = 'J90dg5zzNeFCZkr9v5kMJYBY0ShSJ59AcXpJ9MiG3X4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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