SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '162959300728bde6775b5143d3bcec5337023d2c3b277d1a5adb2e6166af4729' 
  AND token = 'D8SVtHoCJ0Yn+SpcnnoZVw6Ug6IWnzF0/yGLd6UOiK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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