SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e1bd3169a92f6cfded56744bb471005fc71b98a43b91e6f5663ae137d0738f5' 
  AND token = '5lwbPXqtqAlaQ/5F7i8yAVc3vI01kRtfWyqQbFwLCgo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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