SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42518160409e0fe310e040c1848e51a81b5e4d0fc781234cf51b7320cbaf5d3e' 
  AND token = 'hl9+ok/wysIJJ8eOOTAJ0/KcQ7f8hRdks30mie3aoHw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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