SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea0829baa6dbe17a1d1d893067169f3e3ec3635fae7d23b0a967de577c0d8a78' 
  AND token = 'Gx3+eUaNLGHOYHxEWqAgm5sDu8WJVbNkpZFJFer9JPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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