SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31ec7dd055fcf1052a0dfe5eb730f54a136a0902aec22b991e5b8cb6a9d021d9' 
  AND token = 'iy9Ip8+e6t7y/upX8slO4pwfD3VZdXo6mb9LWMflo4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00092

JSON explain

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