SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6734ab3d020de143c7cdf7999eefa20717b6dd33ddece1b7844212638acb321' 
  AND token = 'UuD6F+rniNj1dPN3gB7m7YKp26RkzM6rHWM6M4TSxf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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