SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0987150832985fc911b40e984a9dff34c74946de78e86c74dd003fe90b407330' 
  AND token = 'dfxLvaK/D9gzQitRMq25wteNtCbJnybsnkzZZPwGdFc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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