SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '340dc2a5d1f1c8d3d0e49b232bbe7ab1e7e4731d0f9317577ea85cd2194834e6' 
  AND token = 'v9Zn+B1bkC5Lo/5SAgEXEdYcRo0OvqNTwCzCOsfBWQQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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