SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e5fd7b1b1f313f1e4a3d5b54656fa31e4a600034645bca8cb46d521d0365836' 
  AND token = 'qzTCZgiqLd46dvDQ17Rq6rxpI5TEPHdUSXPIjzd8hfs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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