SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f0c5e0c7bbb3272e2dc520aac5e247324bbece9d1183e8ab263ec1e7de23ed7c' 
  AND token = 'O5nXQrHlLmm13t6ktguJjfIMO9cuoryFkDJKX9vd0os=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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